import requests

import app


class LoginAPI:
    def __init__(self):
        self.login_url=app.BASE_URL+"/api/sys/login"
    def login(self,login_data):
        return requests.post(url=self.login_url,json=login_data)